﻿<!DOCTYPE html>
<html lang="zh-CN">
        <head>
                <meta charset="UTF-8">
                <meta http-equiv="X-UA-Compatible" content="IE=edge">
                <meta name="viewport" content="width=device-width, initial-scale=1 , user-scalable=no">
                <title>www.it123.org</title>



        <include file="./Tpl/N/Common/member_header.html" />


</head>
<body>
        <!--导航-->
<include file="./Tpl/N/Common/member_menu.html" />
<!--导航-->






<div class="container">
        <div class="row">
                <div class="col-md-1">
                        <include file="./Tpl/N/Common/member_userinfo_menu.html" />
                </div>
                <div class="col-md-11">

                        <ul class="nav nav-tabs">

                                <li  class="active">
                                        <a href="uesr_search.html">用户资料</a>
                                </li>

                        </ul>
                        <form action="#" class="uesr_search">
                                <div class="alert alert-info" role="alert">
                                        <strong>提示：</strong>
                                        登录邮箱不能修改！昵称不能重复！
                                </div>






                                <p>
                                <div class="input-group">
                                        <span class="input-group-addon" id="sizing-addon1">省份</span>


                                        <select class="form-control"  name="vitae_province">



                                                <option value="北京"   <if condition="$info.vitae_province eq  '北京' ">SELECTED</if>     >北京</option>
                                                <option value="上海"   <if condition="$info.vitae_province eq  '上海' ">SELECTED</if>    >上海</option>

                                                <option value="天津"  <if condition="$info.vitae_province eq  '天津' ">SELECTED</if>    >天津</option>
                                                <option value="重庆" <if condition="$info.vitae_province eq  '重庆' ">SELECTED</if>    >重庆</option>

                                                <option value="广东省"  <if condition="$info.vitae_province eq  '广东省' ">SELECTED</if>    >广东省</option>

                                                <option value="浙江省"  <if condition="$info.vitae_province eq  '浙江省' ">SELECTED</if>    >浙江省</option>
                                                <option value="河北省"  <if condition="$info.vitae_province eq  '河北省' ">SELECTED</if>    >河北省</option>

                                                <option value="江苏省"  <if condition="$info.vitae_province eq  '江苏省' ">SELECTED</if>   >江苏省</option>



                                                <option value="辽宁省"  <if condition="$info.vitae_province eq  '辽宁省' ">SELECTED</if>   >辽宁省</option>

                                                <option value="吉林省"  <if condition="$info.vitae_province eq  '吉林省' ">SELECTED</if>    >吉林省</option>


                                                <option value="黑龙江省"  <if condition="$info.vitae_province eq  '黑龙江省' ">SELECTED</if>    >黑龙江省</option>



                                                <option value="安徽省" <if condition="$info.vitae_province eq  '安徽省' ">SELECTED</if>     >安徽省</option>
                                                <option value="福建省"  <if condition="$info.vitae_province eq  '福建省' ">SELECTED</if>   >福建省</option>

                                                <option value="江西省"  <if condition="$info.vitae_province eq  '江西省' ">SELECTED</if>    >江西省</option>

                                                <option value="山东省"  <if condition="$info.vitae_province eq  '山东省' ">SELECTED</if>    >山东省</option>
                                                <option value="河南省"  <if condition="$info.vitae_province eq  '河南省' ">SELECTED</if>   >河南省</option>

                                                <option value="湖北省"   <if condition="$info.vitae_province eq  '湖北省' ">SELECTED</if>   >湖北省</option>
                                                <option value="湖北省"   <if condition="$info.vitae_province eq  '山西省' ">SELECTED</if>   >山西省</option>
                                                <option value="湖南省"  <if condition="$info.vitae_province eq  '湖南省' ">SELECTED</if>    >湖南省</option>

                                                <option value="海南省"   <if condition="$info.vitae_province eq  '海南省' ">SELECTED</if>   >海南省</option>
                                                <option value="四川省"  <if condition="$info.vitae_province eq  '四川省' ">SELECTED</if>    >四川省</option>
                                                <option value="贵州省"  <if condition="$info.vitae_province eq  '贵州省' ">SELECTED</if>    >贵州省</option> 
                                                <option value="云南省"  <if condition="$info.vitae_province eq  '云南省' ">SELECTED</if>    >云南省</option>   
                                                <option value="陕西省"  <if condition="$info.vitae_province eq  '陕西省' ">SELECTED</if>    >陕西省</option>        
                                                <option value="甘肃省"  <if condition="$info.vitae_province eq  '甘肃省' ">SELECTED</if>    >甘肃省</option>      
                                                <option value="青海省"  <if condition="$info.vitae_province eq  '青海省' ">SELECTED</if>    >青海省</option> 

                                                <option value="其他"  <if condition="$info.vitae_province eq  '其他' ">SELECTED</if>    >其他</option> 




                                        </select>



                                        <span class="input-group-addon btn btn-default" id="sizing-addon1"  type="button"  >修改</span>


                                </div>

                                </p>      








                                <p>
                                <div class="input-group">
                                        <span class="input-group-addon" id="sizing-addon1">技术</span>

                                        <select class="form-control" name="vitae_direction">      




                                                <option value="PHP"    <if condition="$info.vitae_direction eq  'PHP' ">SELECTED</if> >PHP</option>
                                                <option value="Java"  <if condition="$info.vitae_direction eq  'Java' ">SELECTED</if> >Java</option>
                                                <option value="C"  <if condition="$info.vitae_direction eq  'C' ">SELECTED</if> >C</option>
                                                <option  value="C++"  <if condition="$info.vitae_direction eq  'C++' ">SELECTED</if> >C++</option>
                                                <option   value="Js"  <if condition="$info.vitae_direction eq  'Js' ">SELECTED</if> >Js</option>
                                                <option value=".Net"  <if condition="$info.vitae_direction eq  '.Net' ">SELECTED</if> >.Net</option>


                                        </select>







                                        <span class="input-group-addon btn btn-default" id="sizing-addon1" name="vitae_direction" type="button" >修改</span>


                                </div>
                                </p>


                                <p>



                                <div class="input-group">
                                        <span class="input-group-addon" id="sizing-addon1">经验</span>


                                        <select class="form-control" name="vitae_workold">



                                                <option value="0"    <if condition="$info.vitae_workold eq  0 ">SELECTED</if>  >0年</option>
                                                <option value="1" <if condition="$info.vitae_workold eq  1 ">SELECTED</if> >1年</option>
                                                <option value="2" <if condition="$info.vitae_workold eq  2 ">SELECTED</if> >2年</option>
                                                <option value="3" <if condition="$info.vitae_workold eq  3 ">SELECTED</if> >3年</option>
                                                <option value="4" <if condition="$info.vitae_workold eq  4 ">SELECTED</if> >4年</option>
                                                <option value="5"<if condition="$info.vitae_workold eq  5 ">SELECTED</if>  >5年</option>
                                                <option value="6" <if condition="$info.vitae_workold eq  6 ">SELECTED</if> >6年</option>
                                                <option value="7" <if condition="$info.vitae_workold eq  7 ">SELECTED</if> >7年</option>
                                                <option value="8" <if condition="$info.vitae_workold eq  8 ">SELECTED</if> >8年</option>
                                                <option value="9" <if condition="$info.vitae_workold eq  9 ">SELECTED</if> >9年</option>

                                                <option value="10" <if condition="$info.vitae_workold eq  10 ">SELECTED</if> >10年</option>
                                        </select>



                                        <span class="input-group-addon btn btn-default" id="sizing-addon1"  type="button"  >修改</span>


                                </div>
                                </p>




                                <p>
                                <div class="input-group">
                                        <span class="input-group-addon" id="sizing-addon1"> 待遇</span>


                                        <select class="form-control"  name="vitae_salary">


                                                <option value="3"        <if condition="$info.vitae_salary eq  '3' ">SELECTED</if>   >3K</option>
                                                <option  value="4" <if condition="$info.vitae_salary eq  '4' ">SELECTED</if>   >4K</option>

                                                <option value="5" <if condition="$info.vitae_salary eq  '5' ">SELECTED</if>  >5K</option>
                                                <option value="6" <if condition="$info.vitae_salary eq  '6' ">SELECTED</if> >6K</option>

                                                <option value="7" <if condition="$info.vitae_salary eq  '7' ">SELECTED</if>  >7K</option>

                                                <option value="8" <if condition="$info.vitae_salary eq  '8' ">SELECTED</if>  >8K</option>

                                                <option value="9" <if condition="$info.vitae_salary eq  '9' ">SELECTED</if>  >9K</option>

                                                <option value="10" <if condition="$info.vitae_salary eq  '10' ">SELECTED</if>  >10K</option>

                                                <option value="11" <if condition="$info.vitae_salary eq  '11' ">SELECTED</if>  >11K</option>
                                                <option value="12" <if condition="$info.vitae_salary eq  '12' ">SELECTED</if>  >12K</option>
                                                <option value="13" <if condition="$info.vitae_salary eq  '13' ">SELECTED</if>  >13K</option>
                                                <option value="4" <if condition="$info.vitae_salary eq  '14' ">SELECTED</if> > 14K</option>
                                                <option value="15" <if condition="$info.vitae_salary eq  '15' ">SELECTED</if> >15K</option>
                                                <option value="16" <if condition="$info.vitae_salary eq  '16' ">SELECTED</if>  >16K</option>
                                                <option value="17" <if condition="$info.vitae_salary eq  '17' ">SELECTED</if>  >17K</option>
                                                <option value="18" <if condition="$info.vitae_salary eq  '18' ">SELECTED</if>  >18K</option>
                                                <option value="19" <if condition="$info.vitae_salary eq  '19' ">SELECTED</if>  >19K</option>
                                                <option value="20" <if condition="$info.vitae_salary eq  '20' ">SELECTED</if>  >20K</option>


                                        </select>





                                        <span class="input-group-addon btn btn-default" id="sizing-addon1"  type="button"  >修改</span>


                                </div>

                                </p>       


                                <p>
                                <div class="input-group">
                                        <span class="input-group-addon" id="sizing-addon1"> 在职</span>


                                        <select class="form-control"  name="vitae_isjob">



                                                <option value="1"  <if condition="$info.vitae_isjob eq  '1' ">SELECTED</if> >是</option>
                                                <option value="0"  <if condition="$info.vitae_isjob eq  '0' ">SELECTED</if>  >否</option>

                                        </select>




                                        <span class="input-group-addon btn btn-default" id="sizing-addon1"  type="button"  >修改</span>


                                </div>

                                </p>             


                                <p>
                                <div class="input-group">
                                        <span class="input-group-addon" id="sizing-addon1"> 手机</span>
                                        <input type="email"  name="vitae_phone"   value="{$info.vitae_phone}" class="form-control" placeholder="手机号码" 
                                               aria-describedby="sizing-addon1" > <span class="input-group-addon btn btn-default" id="sizing-addon1"  type="button"  >修改</span>


                                </div>

                                </p>             








                                <p>
                                <div class="input-group">
                                        <span class="input-group-addon" id="sizing-addon1">技能</span>
                                        <input type="email"  name="vitae_desc"   value="{$info.vitae_desc}" class="form-control" placeholder="php、java、mysql、Js、Css、Jquery" 
                                               aria-describedby="sizing-addon1" > <span class="input-group-addon btn btn-default" id="sizing-addon1"  type="button"  >修改</span>


                                </div>

                                </p>    











                        </form>
                </div>
        </div>
</div>























<include file="./Tpl/N/Common/member_footer.html" />















<script>


        /*
         
         $("span[name='vitae_direction']").click(function() {
         
         
         
         
         var vitae_direction = $("select[name='vitae_direction']").val();
         
         
         $.post("__APP__/Member/ajaxUpdateVitaeInfo/",
         
         
         
         {
         
         name: ""vitae_direction,
         value: vitae_direction
         
         },
         function(data) {
         
         
         if (data.status == true) {
         alert('昵称修改成功！');
         location.href = '__APP__/Member/';
         //location.href实现客户端页面的跳转  
         } else if (data.status == -1) {
         alert('非法操作');
         } else if (data.status == -2) {
         
         alert('昵称被占用');
         
         } else if (data.status == false) {
         
         alert('昵称修改失败，请重试！');
         
         } else {
         
         reload();
         }
         
         
         }, 'json');
         
         
         
         });
         
         
         */
        $("[type='button']").click(function() {
                var $input = $(this).parent().find("select");
                if (0 == $input.length) {
                        $input = $(this).parent().find("input");
                }
                var value = $input.find(":selected").attr("value");
                if (undefined === value) {
                        value = $input.val();
                }
//        console.log(value)
                var postArg = {};

                //postArg[$input.attr("name")] = value;

                postArg['name'] = $input.attr("name");

                postArg['value'] = value;



                console.log(postArg);
//        var name=.attr("name");
                $.post('__APP__/Member/ajaxUpdateVitaeInfo/', postArg, function(data) {




                        if (data.status == true) {
                                alert('修改成功！');

                                //location.href实现客户端页面的跳转  
                        } else if (data.status == -1) {
                                alert('非法操作');
                        } else if (data.status == -2) {

                                alert('昵称被占用');

                        } else if (data.status == false) {

                                alert('昵称修改失败，请重试！');

                        } else {

                                reload();
                        }


                }, "json");
        });




</script>	











</body>
</html>